//
//  DetailsSecondCollectionViewCell.m
//  HimalayaMusic
//
//  Created by dllo on 16/1/7.
//  Copyright © 2016年 WXCLegendary. All rights reserved.
//

#import "DetailsSecondCollectionViewCell.h"

@implementation DetailsSecondCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        self.imageView = [[UIImageView alloc] init];
        [self addSubview:_imageView];
        self.imageView.contentMode = UIViewContentModeScaleAspectFill;
        self.label = [[UILabel alloc] init];
        [self addSubview:_label];
        
        
    }
    
    
    return self;
    
    
}

- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes {
    
    self.imageView.frame = CGRectMake(20, 5, 25, 30);
    self.label.frame = CGRectMake(self.imageView.width+30, 5, 100, 34);
    
}

@end
